package com.edu.dao;

import java.util.List;

import com.edu.entity.GreenUser;
import com.edu.entity.Reason;
import com.edu.entity.ReasonTa;
import com.edu.entity.Shi;
import com.edu.entity.ShiC;
import com.edu.entity.ShiCs;
import com.edu.entity.Tu;
import com.edu.entity.User;
import com.edu.entity.YuanC;

public interface UserDao {
public List<User> allUser();
public boolean queryNameAndPass(String name,String pass);
public int update(User user);
public int Delete(int id);
public List<User> queryByIdAll(User user);
public List<User> absoluteQuery(int id,User user);
public int InsertUser(User user);
public List<User> queryByAUser();
public List<YuanC> queryByAUser(YuanC yuanc);
public List<ShiC> queryByAUser(ShiC shic);
public int Deletes(int id);
public int DeleteShi(int id);
public int update(ShiC shic);
public int updates(ShiC shic);
public int InsertRe(Reason reason);
public int InsertRes(ReasonTa reasonTa);
public int InsertShi(Shi shi);
public int InsertShics(ShiCs shiCs);
public int InsertJuan(GreenUser greenUser);
public boolean UpdetJuan(GreenUser greenUser);
public int UpdetYuan(YuanC yuanC); 
public int UpdetYuans(YuanC yuanC); 
public List<Tu> queryByIdAll(Tu tu);
public List<ShiC> queryByShic();
public List<YuanC> queryByAllYuan();
}
